package com.zboot.zbootadmin.project.base.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author draw
 * @since 2021-05-08
 */
@Data
@ApiModel(value="MachineryModelType对象", description="")
public class MachineryModelType implements Serializable {

    private static final long serialVersionUID=1L;
    private Long id;
    @ApiModelProperty(value = "所属机械类别id")
    private String categpryId;

    @ApiModelProperty(value = "车型类别")
    private String name;

    @ApiModelProperty(value = "排序")
    private Integer order;
    @ApiModelProperty(value = "状态：0启用，1删除")
    private Integer status=0;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate =new Date();

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastModifedDate=createDate;


}
